﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hongapo_Model.Product
{
   public class Comment
    {
        #region Model
        private int _id;
        private int? _pid;
        private string _username;
        private string _email;
        private string _homeurl;
        private string _content;
        private int? _isopen;
        private int? _favour;
        private int? _oppose;
        private int? _parentid;
        private DateTime? _createdate;
        private string _remark;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? PID
        {
            set { _pid = value; }
            get { return _pid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HomeURL
        {
            set { _homeurl = value; }
            get { return _homeurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Isopen
        {
            set { _isopen = value; }
            get { return _isopen; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Favour
        {
            set { _favour = value; }
            get { return _favour; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Oppose
        {
            set { _oppose = value; }
            get { return _oppose; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Createdate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        #endregion Model
    }
}
